package com.itcast.health.response.entity;

import java.io.Serializable;
import java.util.List;

public class PageResult<T> implements Serializable{

    private Long total;//总记录数

    private Integer totalPage;//总页数

    private List<T> rows;//分页结果集

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
